package cn.yll.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城用户表映射实体
 * </p>
 *
 * @author yll
 * @since 2022-08-01
 */
@Data
@Accessors(chain = true)
@TableName("user")
@ApiModel(value = "UserEntity对象", description = "商城用户表映射实体")
public class UserEntity extends BaseEntity {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("登录密码")
    private String password;

    @ApiModelProperty("用户钱包余额")
    private Integer cash;

}
